<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        background-image: url("../../img/大白.jpg");
        background-size: cover;
        height: 100vh;

        font-family: "Raleway", sans-serif;
        letter-spacing: 1px;
      }
      h1 {
        text-align: center;
        color: #fff;
        padding-top: 20px;
      }

      ul {
        list-style: none;
      }

      nav {
        height: 40px;
        margin: 40px auto;
        text-align: center;
        border-radius: 4px;
      }
      .main {
        display: flex;
        justify-content: center;
      }
      .main > li {
        margin: 0 2%;
      }
      .main > li a {
        border-left: 1px solid rgba(23, 23, 50, 1);
      }
      a {
        text-decoration: none;
        color: #ffe;
        text-transform: capitalize;
        font-family: monospace;
        display: block;
        padding: 10px 15px;
        font-size: 16px;
        transition: background-color 0.5s ease-in-out;

        font-family: "Raleway", sans-serif;
      }

      a:hover {
        background-color: burlywood;
      }

      .drop li {
        opacity: 0;
        transform-origin: top center;
      }

      .drop li a {
        background-color: rgba(23, 23, 50, 0.7);
        padding: 10px 0;
      }

      /*------------- menu1 animation -------------------*/

      .main li:hover .menu1 li:first-of-type {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.3s;
      }

      .main li:hover .menu1 li:nth-of-type(2) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.4s;
      }

      .main li:hover .menu1 li:nth-of-type(3) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.5s;
      }

      .main li:hover .menu1 li:nth-of-type(4) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.6s;
      }

      .main li:hover .menu1 li:nth-of-type(5) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.7s;
      }

      .main li:hover .menu1 li:nth-of-type(6) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.8s;
      }

      .main li:hover .menu1 li:nth-of-type(7) {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 0.9s;
      }

      .main li:hover .menu1 li:last-of-type {
        animation: menu1 0.3s ease-in-out forwards;
        animation-delay: 1s;
      }

      @keyframes menu1 {
        from {
          opacity: 0;
          transform: translateX(30px) rotateY(90deg);
        }
        to {
          opacity: 1;
          transform: translateX(0) rotateY(0);
        }
      }

      /*------------- menu2 animation -------------------*/

      .main li:hover .menu2 li:first-of-type {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.3s;
      }

      .main li:hover .menu2 li:nth-of-type(2) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.4s;
      }

      .main li:hover .menu2 li:nth-of-type(3) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.5s;
      }

      .main li:hover .menu2 li:nth-of-type(4) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.6s;
      }

      .main li:hover .menu2 li:nth-of-type(5) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.7s;
      }

      .main li:hover .menu2 li:nth-of-type(6) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.8s;
      }

      .main li:hover .menu2 li:nth-of-type(7) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 0.9s;
      }

      .main li:hover .menu2 li:nth-of-type(8) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1s;
      }

      .main li:hover .menu2 li:nth-of-type(9) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1.1s;
      }
      .main li:hover .menu2 li:nth-of-type(10) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1.2s;
      }

      .main li:hover.menu2 li:nth-of-type(11) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1.3s;
      }

      .main li:hover.menu2 li:nth-of-type(12) {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1.4s;
      }

      .main li:hover .menu2 li:last-of-type {
        animation: menu2 0.3s ease-in-out forwards;
        animation-delay: 1.4s;
      }

      @keyframes menu2 {
        0% {
          opacity: 0;
          transform: scale(0.7);
        }
        50% {
          opacity: 0.5;
          transform: scale(1.1);
        }
        100% {
          opacity: 1;
          transform: scale(1);
        }
      }

      /*------------- menu3 animation -------------------*/

      .main li:hover .menu3 li:first-of-type {
        animation: menu3 0.3s ease-in-out forwards;
        animation-delay: 0.3s;
      }

      .main li:hover .menu3 li:nth-of-type(2) {
        animation: menu3 0.3s ease-in-out forwards;
        animation-delay: 0.4s;
      }

      .main li:hover .menu3 li:nth-of-type(3) {
        animation: menu3 0.3s ease-in-out forwards;
        animation-delay: 0.9s;
      }

      .main li:hover .menu3 li:last-of-type {
        animation: menu3 0.3s ease-in-out forwards;
        animation-delay: 1.2s;
      }

      @keyframes menu3 {
        0% {
          opacity: 0;
          transform: translateX(20px);
        }
        100% {
          opacity: 1;
          transform: translateX(0);
        }
      }

      /*------------- menu4 animation -------------------*/

      .main li:hover .menu4 li:first-of-type {
        animation: menu4 0.3s ease-in-out forwards;
        animation-delay: 0.3s;
      }

      .main li:hover .menu4 li:nth-of-type(2) {
        animation: menu4 0.3s ease-in-out forwards;
        animation-delay: 0.6s;
      }

      .main li:hover .menu4 li:nth-of-type(3) {
        animation: menu4 0.3s ease-in-out forwards;
        animation-delay: 0.9s;
      }

      .main li:hover .menu4 li:last-of-type {
        animation: menu4 0.3s ease-in-out forwards;
        animation-delay: 1.2s;
      }

      @keyframes menu4 {
        0% {
          opacity: 0;
          transform: translateX(50px) rotate(-90deg);
        }
        100% {
          opacity: 1;
          transform: translateX(0) rotate(0);
        }
      }

      /*------------- menu5 animation -------------------*/

      .main li:hover .menu5 li:first-of-type {
        animation: menu5 0.3s ease-in-out forwards;
        animation-delay: 0.3s;
      }

      .main li:hover .menu5 li:nth-of-type(2) {
        animation: menu5 0.3s ease-in-out forwards;
        animation-delay: 0.6s;
      }

      .main li:hover .menu5 li:nth-of-type(3) {
        animation: menu5 0.3s ease-in-out forwards;
        animation-delay: 0.9s;
      }

      .main li:hover .menu5 li:last-of-type {
        animation: menu5 0.3s ease-in-out forwards;
        animation-delay: 1.2s;
      }

      @keyframes menu5 {
        0% {
          opacity: 0;
          transform: rotateX(-90deg);
        }
        100% {
          opacity: 1;
          transform: rotateX(0);
        }
      }

      /*------------- menu6 animation -------------------*/

      .main li:hover .menu6 li:first-of-type {
        animation: menu6 0.3s ease-in-out forwards;
        animation-delay: 0.2s;
      }

      .main li:hover .menu6 li:nth-of-type(2) {
        animation: menu6 0.3s ease-in-out forwards;
        animation-delay: 0.4s;
      }

      .main li:hover .menu6 li:nth-of-type(3) {
        animation: menu6 0.3s ease-in-out forwards;
        animation-delay: 0.6s;
      }

      .main li:hover .menu6 li:last-of-type {
        animation: menu6 0.3s ease-in-out forwards;
        animation-delay: 0.8s;
      }

      @keyframes menu6 {
        0% {
          opacity: 0;
          transform: scale(2);
        }
        100% {
          opacity: 1;
          transform: scale(1);
        }
      }

      /* my button style */
      .white-mode {
        text-decoration: none;
        padding: 7px 10px;
        background-color: #122;
        border-radius: 3px;
        color: #fff;
        transition: 0.35s ease-in-out;
        position: absolute;
        left: 15px;
        bottom: 15px;
        font-family: sans-serif;
      }

      .white-mode:hover {
        background-color: #fff;
        color: #122;
      }
    </style>
  </head>
  <body>
    <h1>yu</h1>
    <nav>
      <ul class="main">
        <li>
          <a href="#">九月</a>
          <ul class="drop menu1">
            <li><a href="./9月/9.18/9.18作业.html" target="_blank">9.18</a></li>
            <li><a href="./9月/9.20/作业.html" target="_blank">9.20</a></li>
            <li><a href="./9月/9.21/9.21作业.html" target="_blank">9.21</a></li>
            <li><a href="./9月/9.22/9.22作业.html" target="_blank">9.22</a></li>
            <li><a href="./9月/9.25/9.25作业.html" target="_blank">9.25</a></li>
            <li><a href="./9月/9.26/9.26作业.html" target="_blank">9.26</a></li>
            <li><a href="./9月/9.27/9.27作业.html" target="_blank">9.27</a></li>
            <li><a href="./9月/9.28/9.28作业.html" target="_blank">9.28</a></li>
          </ul>
        </li>
        <li>
          <a href="#">十月</a>
          <ul class="drop menu2">
            <li>
              <a href="./10月/10.8/10.8作业.html" target="_blank">10.8</a>
            </li>
            <li>
              <a href="./10月/10.10/10.10作业.html" target="_blank">10.10</a>
            </li>
            <li>
              <a href="./10月/10.13/10.13作业.html" target="_blank">10.13</a>
            </li>
            <li><a href="./10月/10.16/作业1.html" target="_blank">10.16</a></li>
            <li><a href="./10月/10.17/10.17.html" target="_blank">10.17</a></li>
            <li>
              <a href="./10月/10.18/10.18作业.html" target="_blank">10.18</a>
            </li>
            
            <li><a href="./10月/测试/测试.html" target="_blank">js测试</a></li>
            <li><a href="./10月/10.20/index.html" target="_blank">10.20</a></li>
            <li><a href="./10月/10.23/10.23.html" target="_blank">10.23</a></li>
            <li>
              <a href="./10月/10.26/index.html" tabindex="-blank">10.26</a>
            </li>
            <li><a href="./10月/10.30/10.30.html" target="_blank">10.30</a></li>
          </ul>
        </li>
        <li>
          <a href="#">十一月</a>
          <ul class="drop menu3">
            <li><a href="./11月/11.14/11.14.html" target="_blank">11.14</a></li>
            <li>
              <a href="./11月/11.17/index.html" target="_blank">11.17</a>
            </li>
            <li>
              <a href="./11月/11.20/index.html" target="_blank">11.20</a>
            </li>
            <li><a href="./11月/11.30/index.html">11.30</a></li>
            <!-- <li><a href="#">about</a></li> -->
          </ul>
        </li>
        <li>
          <a href="#">十二月</a>
          <ul class="drop menu4">
            <!-- <li><a href="#">Home</a></li>
        <li><a href="#">news</a></li>
        <li><a href="#">contact</a></li>
        <li><a href="#">about</a></li> -->
          </ul>
        </li>
        <li>
          <a href="#">一月</a>
          <ul class="drop menu5">
            <!-- <li><a href="#">Home</a></li>
        <li><a href="#">news</a></li>
        <li><a href="#">contact</a></li>
        <li><a href="#">about</a></li> -->
          </ul>
        </li>
        <li>
          <a href="#">二月</a>
          <ul class="drop menu6">
            <!-- <li><a href="#">Home</a></li>
        <li><a href="#">news</a></li>
        <li><a href="#">contact</a></li>
        <li><a href="#">about</a></li> -->
          </ul>
        </li>
      </ul>
    </nav>
  </body>
</html>
